package com.akw.logging.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HelloController {
    @GetMapping("/h")
    public String hello() {
        for (int i = 0; i < 1000; i++) {
            log.info("哈哈哈 方法进来了");
        }
        return "hello";
    }
}
